package net.minecraft.src;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.src.NetHandler;
import net.minecraft.src.Packet;

public class Packet101CloseWindow extends Packet {

   public int windowId;


   public Packet101CloseWindow() {
      super();
   }

   public Packet101CloseWindow(int var1) {
      super();
      this.windowId = var1;
   }

   public void processPacket(NetHandler var1) {
      var1.func_20092_a(this);
   }

   public void readPacketData(DataInputStream var1) throws IOException {
      this.windowId = var1.readByte();
   }

   public void writePacketData(DataOutputStream var1) throws IOException {
      var1.writeByte(this.windowId);
   }

   public int getPacketSize() {
      return 1;
   }
}
